﻿@model BatsMVCPortal.Models.Photo

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Photo</legend>

    <div class="display-label">Topic</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Topic.TopicType)
    </div>

    <div class="display-label">PhotoName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PhotoName)
    </div>

    <div class="display-label">PhotoDescription</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PhotoDescription)
    </div>

    <div class="display-label">UserId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UserId)
    </div>

    <div class="display-label">PhotoRating</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PhotoRating)
    </div>

    <div class="display-label">PhotoURL</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PhotoURL)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.PhotoID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
